Skip to main content

TransformMakeTranslation

Type​

operator

Summary​

Creates a new translation transform.

Syntax​

transform with translation <mTranslation>

Description​

Creates a new translation transform.

Parameters​

NameTypeDescription

mTranslation

An expression which evaluates to a list of 2 numbers, the x and y offsets of the translation.

Examples​

// Create translation transform to offset coordinates by 50,100
variable tTransform
put transform with translation [50,100] into tTransform

Value​

NameTypeDescription

return

A new translation transform.

Thank you for your feedback!

Was this page helpful?